namespace SimpleWebServices.Models
{
    using System.Xml.Serialization;

    [XmlRoot("geography")]
    public sealed class Country : Geography
    {
        [XmlIgnore] /// http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
        public string Alpha2
        {
            get
            {
                return this.Data["ISO 3166-1 alpha-2"];
            }

            set
            {
                this.Data["ISO 3166-1 alpha-2"] = value;
            }
        }

        [XmlIgnore] /// http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3
        public string Alpha3
        {
            get
            {
                return this.Data["ISO 3166-1 alpha-3"];
            }

            set
            {
                this.Data["ISO 3166-1 alpha-3"] = value;
            }
        }

        [XmlIgnore] /// http://en.wikipedia.org/wiki/Country_calling_code
        public string InternationalDirectDialling
        {
            get
            {
                return this.Data["IDD"];
            }

            set
            {
                this.Data["IDD"] = value;
            }
        }

        [XmlIgnore] /// http://en.wikipedia.org/wiki/ISO_3166-1_numeric
        public string Numeric
        {
            get
            {
                return this.Data["ISO 3166-1 numeric"];
            }

            set
            {
                this.Data["ISO 3166-1 numeric"] = value;
            }
        }
    }
}